﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="personal.aspx.cs" Inherits="联盟酒店.personal" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

<style type="text/css">
			*{
				text-align: center;
			}
			#divname{
				width:1000px;
				margin: 0 auto;
			}
			#divname li{
				display: inline-block;
				list-style: none;
				width: 220px;
				height: 70px;
				border: 0px;
			}
			#divname li input{
				
				height: 28px;
				width: 210px;
			}
			#btnyx input{
				border: 2px solid  #EEEEEE;
				background-color: #DDDDDD;
				color: black;
				margin-left: 15px;
				height: 30px;
			}
		</style>
	 <script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
            $(function () {
                $("#deletemake").click(function () {
                    return confirm("您确定要删除吗");
                })
            })
        </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
   <asp:Repeater ID="Repeater1" runat="server">
    <HeaderTemplate>
        <table border="1"  id="table1" align="center">
               <th>预约房间类型</th>
                <th>预约房间价格</th>
                <th>入住时间</th>
                <th>离开时间</th>
                <th>入住人数</th>
                <th>取消预约</th>
			    <th>修改预约</th>
    </HeaderTemplate>
    <ItemTemplate>        
            <tr>
                <td><%# Eval("roomtype") %></td>
                <td><%# Eval("price") %></td>
                <td><%# Eval("begtime") %></td>
                <td><%# Eval("endtime") %></td>
                <td><%# Eval("people") %></td>
                <td>
                    <asp:Button ID="qmake" runat="server" Text="取消预定"    CommandArgument='<%#Eval("mid") %>'/>
                </td>
				<td>
                    <asp:Button ID="ymake" runat="server" Text="修改预定"   OnClick="ymake_Click" CommandArgument='<%#Eval("mid") %>' />
				</td>
            </tr>
    </ItemTemplate>
    <FooterTemplate>
        </table>
    </FooterTemplate>
</asp:Repeater>
	<div id="divname">
			<h3>预约人信息</h3>
			<ul>
								<li>预约人姓名：<input type="text" id="yname" runat="server"  readonly="true"></li>
								<li>预约人电话:<input type="text" id="ytel" runat="server" readonly="true"></li>			
			</ul>

		</div>
</asp:Content>

